/*
 * @Author: funlee
 * @Email: i@funlee.cn
 * @Date: 2018-01-06 15:44:33
 * @Last Modified time: 2018-01-06 15:44:33
 * @Description: 玫瑰图-没搞懂 
 */
import zrender from 'zrender'
const img = require('../img/github.png')
export default () => {
  console.log('start running...')
  console.log(zrender)
  var zr = zrender.init(document.getElementById('main'))
  var rose = new zrender.Rose({
    shape: {
      cx: 250,
      cy: 250,
      r: 50
    },
    style: {
      fill: 'none',
      stroke: 'red',
      lineWidth: 4
    }
  })
  zr.add(rose)
}
